package com.changgou.order.feign;

import com.changgou.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Map;

@FeignClient(name = "order")
public interface ReportOrderFeign {

    @GetMapping("/order/orderStatus")
    public Result<List<Map<String,String>>> findOrder();

    @GetMapping("/order/profitReport")
    public Result<Map> profitReport();

}
